package com.foreknow.demo15;

public class Test {
    public static void main(String[] args) {
        FlyBird flyBird = new FlyBird("yellow");
        flyBird.eat();

        Bird bird = new FlyBird("black");
        bird.eat();
    }
}